function localization(locale){
	
	function formatName(options){
		var name = {};
		switch(locale){
			case 'vi':
				name.fullname = options.lastname + ' ' + options.firstname;
				break;
			case 'en':
			default:
				name.fullname = options.firstname + ' ' + options.lastname;
				break;
		}
		
		return name;
	}
	
	function fillFullName(options){
		var options = $.extend({
			firstname: '',
			lastname: '',
			$objs: []
		},options);
		var name = formatName(options);
		for(var i = 0; i < options.$objs.length; i++){
			options.$objs[i].html(name.fullname);
		}
	}
	return {
		formatName: formatName,
		fillFullName: fillFullName
	}
}